package com.sig.logic.core.module.player.event;

import com.sig.logic.core.module.player.model.CorePlayer;
import com.sig.player.event.PlayerEvent;
import org.springframework.stereotype.Service;

/**
 * 默认实现
 *
 * @author sig
 * @since 2019/2/21
 */
@Service
public class DefaultCorePlayerEventListener extends CorePlayerEventListener {
    @SuppressWarnings("unchecked")
    private Class<? extends PlayerEvent>[] interestEvents = new Class[]{DefaultCorePlayerEvent.class};

    @Override
    public Class<? extends PlayerEvent>[] interestEvents() {
        return interestEvents;
    }

    @Override
    protected void doEvent(CorePlayer player, PlayerEvent event) {
    }
}
